package com.xf.common.core.constant;

/**
 * @author lengleng
 * @date 2017/10/29
 */
public interface CommonConstants {

    /**
     * appId
     */
    String APP_ID = "appId";

    /**
     * header 租户id
     */
    String TENANT_ID = "tenantId";

    String ORGANIZATION_ID = "organizationId";

    String SIGNUPAPPLICATION = "signupApplication";

    String ORGANIZATION_FLAG = "organizationFlag";
    /**
     * header 租户使用标示
     */
    String TENANT_FLAG = "tenantFlag";
    /**
     * token
     */
    String Authorization = "Authorization";

    /**
     * header 客户端id
     */
    String CLIENT_ID = "client_id";

    /**
     * header 版本信息
     */
    String VERSION = "VERSION";

    /**
     * 租户ID
     */
    String TENANT_ID_1 = "1";

    String ORGANIZATION_ID_1 = "1";

    /**
     * 删除
     */
    Long STATUS_DEL = -1L;

    /**
     * 正常
     */
    String STATUS_NORMAL = "0";

    /**
     * 默认父类id
     */
    String DEFAULT_PARENT_ID = "0";

    /**
     * 滑块验证码
     */
    String IMAGE_CODE_TYPE = "blockPuzzle";

    /**
     * 编码
     */
    String UTF8 = "UTF-8";


    /**
     * 成功标记
     */
    Integer SUCCESS = 0;

    /**
     * 失败标记
     */
    Integer FAIL = 1;
}
